﻿using System;

namespace Glorysoft.EAP.Core.Enums
{
    /// <summary>
    /// 自动锁机原因
    /// </summary>
    [Flags]
    public enum LockMachineReason : long
    {
        /// <summary>
        /// 因物料锁机
        /// </summary>
        Material = 0x01,
        /// <summary>
        /// 因状态锁机
        /// </summary>
        Status = 0x02,
        /// <summary>
        /// 因参数锁机
        /// </summary>
        Parameter = 0x04,
        /// <summary>
        /// 因报警锁机
        /// </summary>
        Alarm = 0x08
    }
}
